import Sprite from "./Sprite";

export default class Plate extends Sprite{
  constructor(){
    super({
      x: 100,
      y: 550,
      w: 200,
      h: 20
    });
    this.type = "plate";
  }
  draw(gd){
    gd.save();

    gd.beginPath();
    gd.rect(this.x,this.y,this.w,this.h);
    gd.closePath();
    gd.fillStyle = "#ccccc";
    gd.fill();

    gd.restore();
  }
}